[tuxtxt] Improved restoring framebuffer or var_screeninfo on exit moved into tuxtxt_common.h save framebuffer only when needed