Added debug toggle
Added database minor fixes... Added hotfix for a string, removing unessecary separators and spaces.