Support FUN GET, added subroutine dynk_pretrack, various fixes and sanity checks.