added some small gui stuff, db_stats script is coming along