CSS layout fixes
Added debug flag to api
debug flag on frontend
Merge branch 'debug-flag'
Previous connection prefs