Fixed devie downloadind, added device removing, some fixes