finished editdb. working now on editclient. calculate is almost done. then batch will be easy.