Clean-up error handling in parser a bit
Removed luacheck.flow

To be replaced by more usable linear representation.