Added frame image pointer to main window, changed image pointer on draw image functions to be const.