removed httppostvars array from submit new cat functions and cleaned up admin mode functions