SOme Fixes and Add Add API to allow limiting of min and max cpu frequencies