Add missing semicolons
Remove pointless object initialization
Return the newly created control

This enables code like:

var button = L.easyButton(...);
map.removeControl(button);
Add support to log in
Only close the popup when all resonators were deployed
Add missing semicolon