RMem - Logging improved and realm change implemented

Function to overwrite a byte in a realm page is implemented now.