Did some more work on the message system, it is now displayed properly, and you can select and read messages. The take button also works, but messages are not sent to inbox. Some more works needs to be done, like marking a message assigned to a person, and selecting one or more messages and mark them read/unread.
Merge remote-tracking branch 'origin/master'