SQL commands working for the first time, adjusted GUI