Possibly fixed a crash when closing windows, added a new minimize 2 icon