cleaned up renderer interface and server code