Added selection toolbar.
Fixed problem with project preferences loading