adds minimizing and canvas drawing
pressing the button in the top right now minimizes the window, and a canvas can be linked to the window. this canvas will display inside the boundaries of the window and automatically resize to the size of the window.