Added window resizing. Turns out this is actually a relatively complicated task :P