* check for if/loop/endif/endloop match in scripts * check for brackets match (same amount of opening/closing brackets) at line load. skip corrupt lines * some code cleanups
still a lot of stuff to fix before everything works as it should. compilation works, linking produces errors. most code cleanups done.