Added hidden preferences to use a custom control panel and to enable debugging.