Multipla changes to the main

Added speed measurements, added signal SIGINT catching and handling and moved
the OpenGL information printing to separate unit.