Fixed a huge bunch of performance issues with the Persistor class using
hibernate.