Enabled debug statments and fixed packet delimiters