Safe printf finally compiles. Load some ground definitions from lua. For now use abort, for testing.