Fixes #9, now proper hints are set when miximizing windows also made
other tiny fixes