Merging all versions, leaving only one ksecure. Patched also for Ubunty Precise and removing deprecated warnings