jtrts: added -internal mode. Fixed issue where dynamic_n was a valid type