Added rudimentary Var Init & Reg Define checks. Test program fails former with var 'baz'.