started to clean up functions.php; added some convenience methods to CAT_Helper_Protect; fixed some occurances of leptoken