Basic rating system and restoring window geometry and state.