fixed sillyness with global var naming issues and a spelling mistake while we're there
altered allowed whitespace between func name and (
fixed a silly silent crash if strange if structure found
Merge branch 'master' of https://github.com/SJShaw/simpatico