Fixed socket still being in use after closing it.
Implemented device enumeration; improved device button enumeration.