fixed text to buffer overflow with wide pagewidth, should still be in acceptable parameters
scaled back just a little to be safe on the overflow even tho there is no immediate problem
refactored print_header and added print_bar, all methods for making nice formated strings and handle color in regards to spacing. Also added fit_string_to_space which will be used in formating strings where you want it to definitely X spaces while taking color into considering