reinstated canvas, fixed button
fixed checkingbounds
submenu bounds checking
changed states to improve state transitioning