Made changes to window sizing, added icon support