Fixed unclosed file handles in HIDManager
Fixed some missing constness
More dummy listeners for debugging