Many changes to the webclient. Still needs to be tested with an AI.