Fixed an HTML injection regression
Store preferences in a Properties file, should fix a SecurityException for some users.