Better catchall for payload

Made a better way to check if payload has carriage return on the end of it because apparently it gets lost sometimes for reasons unknown.

Also added a check to make sure user included the helper class correctly.