- potential infinite loops are now caught when running parser and an error is reported; bug fixes, tests