dont show custom fields if there are none, fixed notices
written tests for new features, and fixed bugs
update
test for meta fields
fix #57 - fixed problem where do_search can be called too many times