Removed some commented/unused frontend code