Added ability to resize window manually.