mode toggling pretty much done. Now just working out the details