attempt to make a spectator mode, fix some errors