Cleaned up web-perms and switched to new message system.

Also added missing eof newline.