main.js fixed removal and multiple addition issues

fixed issues w/ bot removal and multiple additions