Spatial memories

Add OSX and iOS documentation and fix a couple of errors that I found while testing it