Added support for maximizing the window

Closes #15
Merge pull request #32 from stof/window_maximize

Added support for maximizing the window