in_file,  main: added option to skip N vertices, watchdog

There's still a geometry problem when building octrees. This helps a bit. Also, use vectors in Lua for rotation.