Added support for Qt themes. Minor cleanup on options.