document cglobal (from issue #1815), and fix deprecated unsafe_ref/assign -> unsafe_load/store! in the manual