With those config1 settings you really shouldn't need to program any of the osc registers in code... it should run at 32Mhz at startup