fixed orb capture by group --KW
formatting changes; removed some obsolete commented code; changed some null checks to git add server/src/server.js syntax --KW