Added new messaging system to locate.lua.

Also added the eof newline.
Cleaned up the main file, and changed to the new message system.
Cleaned up the me file and changed to new message system.