Added some more features and cleaned up the search. I'm pretty sure there is going to be some fine tuning before I can release this version as I've added some useful but also dangerous features :)
So far the history search has been the most useful thing I've added.