ThemeMagic: Fix frontend view thememagic ?tm=1 when themermode is disabled
Add debug position option in Injection Tab
Clean up coding