Cleaned up warnings
Added potentially unsafe mapped memory and register accessors