Fixed bug where trend information that was empty would error
Added a report for when there is no points in the database
Split the DB loading code up