Added new (presently non-functioning) project configuration tab. Also reorganized some code.