Added return_msg to some places where msg is passed and the user is also redirected back to messages.php.
Don't use HTTP User Agent in session string.
Fix Post Options menu not working in latest Firefox.