Enhanced Messages Block, retrieve messages automatically
every 60 seconds, and display in title bar the messages, like google gmail.
No need to refresh the page to check if you got messages or not.
Just replace blocks/messages/ with attached code and enjoy
Update 1: added session confirmation for a better security..
Update 2: Added setting page to define in what time interval you want to check for new messages