#14 use instance variable instead of private properties
#14 open a file when double clicked
#14 add new pref item: default opening behavior