Don't supress warnings when compiling, argh!
Don't walk off the end of the payload array.
Fix warnings, now that they're enabled!