Merging UI code with some basic TextSecureKit code.