move masthead to footer upon search
remove more unnecessary files
better error handling and improved support for callbacks