moved some code in drawing area
 for the moment, deactivated text rendering, no text will be displayed, but at least the application will launch