params in tardisgolib.HAXE()+better range checks