improved control panel, added swarm mode toggle swithc