More bug fixes, and window resizes itself