Automake files updated. Minor bug fixes

Chat didn't reconnect to the GW properly
The GW didn't shutdown new connections properly
Notification was often doing some pretty heavy work while still waiting
to load the list of user-devices.