Add LOCAL_PEEK function, as requested by lmadsen.