Update webserver.py

Send offset parameter to gui for better print duration calculation.