It now does not hang
No longer adds newlines to input file
Fixed verbosity levels being a string.