cleaned some printf
fixed draw problems when resizing the console