Moved recursion in searches to a function.
Factored attribute search code into function.  Improved rc file handling.  Check for page not found.