Improved callback handling for connections.
Fixed css for error dialogs to use new lowercase stuff.