Changed socket receive size

Space locators now get deleted on each loop
Added threshold value to remove the background points