Qt 5.3 MacOSX fixes and Secure Messaging

Here are the Mac fixes for Qt 5.3, as well as secure messaging implemented