Added a check_running to hipat_control, small changes

Now checks for a running instance of hipat_control when running. Also
made everything ready for freq_adj.