Project options dialog

With lots of incidental changes to data structures...
Finished up the view configuration functionality