Debugged pause switch. Works.