Added BlueZ stuff, minor IDEA changes