Made reconnect work

Removed forgotten debug code
Added unknown firmware informations
Better coding practices