lots of server and graphics improvements