added database profiling
sort themes in selections
dont throw a exception if the update timesout #221
one less query to run per page
make sure we send headers correctly
added json as a response method
database session clean up dice roll