Syntax upgrades and mouse mode toggling.