fix game and worker logic, added elm stuff