code cleanup. changed some function names and added alaises to improve readability. bugfix to getSiteUri() - when getActiveSearchPathPush() returns null was causing array_walk unwanted behavior.