Added options dialog.

Changed options to a dialog with the added ability to add new command
types.