small stuff

a. reordered global constants
b. file in decrypted msg is nicer
c. save last msg after return from background
d. maybe less force close
e. .....