some fixes on UI, and database queries
tooltips added