Should fix PM's.
Fixed flood protection
Fixed duplicate protection
Lots of commenting unused code in msg_add