Move some options to new preferences window. Closes #217.