Fixed "else if", added a Printer.PrintStmt method and added channel type
definition