Parser: Code cleanup, fixed building walker, fixed triangulator