[#7] Optimize window movement
[#7] Minimize and close buttons