- Moved switch reverse event handlers into separate functions located before their forward counterparts.