Made the main application manage screens

The screens can exit the program by returning false from one of the
functions
or by being removed if it is the only one on the stack