Fix bugs with encryption, display info, text rendering