Changed parser to swallow exceptions in parseProgram.  Other parsing fixes.