add global instance of logger and remove the locale instance
wrap sdl window in unique_ptr
change shared window ptr to unqiue ptr
add clear bit to clear function in window
remove some redundant code from the several buffer objects