Improved error handling when connecting to a server.  Smoothed out layer and attribute buttons.  Prevented the addition of identical layers