Made window resizable. Minor fixes.