Update gitignore.
Refactor screen management classes.