Small fixes, clearer variable names, initiating handlers on separate threads etc

* The handlers were created on main thread, they are now running in separate handler threads

* Fixed one findbugs issue with mac adress doing string comparision with ==