Fix gamma profile bug; Add register poke functionality