FITIn: fixes compiler warnings for Lua wrapper
FITIn: replace --inst-limit by Lua call
FITIn: improves code look in Lua wrapper
FITIn: changes internal Lua number fromat to long
FITIn: fixes localtime spec mismatch
FITIn: updates remaining wrappers for double->long
FITIn: implements first steps for new flip control