If the programmer doesn't create a Display it is created automatically
if he uses any method from the Console type.
The Scanner is only used for the Console now.
Added exit function, can output the log of the closing or not, it is
used on consoles to make sure that the Scanners are closed.