Updates to control panel, mostly to make them work properly on distributed server.