Updated debug messages, fixed API version to use the const int, fixed mottos being saved