fixes #21 applyNamingPref wasn't called in drawInActiveTab