Added HK SFR control to python module

also minor cosmetic change in main.c