SQLConnection improved, some button listeners added