Event dispatching removed, parser rewritten again
Event dispatcher approach started throwing errors for unknown reason when
editing files. Code transferred from event system back into parser.
Still resulted in a much simplified parser weighing in at 186 lines instead
of 485. Testing is still needed to see that it doesn't throw unexpected
errors but if testing works out it will be merged back.