Updated .gitignore to ignore eclipse projects
Ensure shuts down when requested
Correctly expire devices which have left network without sending BYEBYE