Fix copypaste typo

$extended should be $onTime
Fix PLC bugs

- use default var
- togggle is 'pt' not 'pf'
Merge pull request #1 from dkelson/master

Fix copypaste typo