adding toggle image function and other gui changes