tons of fixes including support for debugging via line numbers and the removal of forward declarations