Refactor time! Added the ability to filter by tags while searching. Now it's about time to make the code sensible, rapid development can only get you so far...