enabled serial writer debug output, changed parser