straighten out functions.php and cleaned things up.