[#7] Removed static error counting in parser

Also improved compiler messaging in parser.