Updated findVariableInStack: Switched to is_callable instead of method_exists for greater range of detection. Rearranged order of variable lookup to work with the highly permissive is_callable() function.