add preferences dialog + .gitingnore