fixed interface size

fixes for issues 3 (user interface) and 4 (pages don't close).