implemented subpixel support
made window resizeable