fix memory leaks
imp open fidelity
imp error handling
add openS command
brighten the cogwheel icon a bit to make it stand out a bit less
updated according to recent changes
imp window icon image handling
fix build