Debug & Settings

Added debugging and made some adjustments to the settings