use ternary operator instead of if/else for simple logic, see #5
Fixed spelling error, see #5
Unified options and provide defaults in ControlPanel, see #5