Update server.cpp

changed the way the 'mag_lag" is caculated and a few visual items.