Some small gui changes and connnections