Removed a few bugs

Window restore div size problem solved; Resolution problem solved. Other
minor design changes...