print ktap string properly in dump_function
coding style cleanup in main.c