Improved timestamps, on and off on pms and Lobby

Improved timestamps so they can be configured separatedly for PMs and Lobby chat. Additionally, the chat code has been slightly improved to not to repeat code uselessly.