completed PLL control and control interface, added sweep master function, fixed a couple of bugs