[Popishu] Use enum classes.
[Azoth] Remember last file path in file send, closes #1505.