Added a if check in the read if it has actually read the amount of bytes, if it doesn't equal to size you send it will return false.
changed codebase to be more consistence through all files.
Added ReadChain function to memory.h
on some boards / fw they can not initialize with memmap, if you have mmap enabled & it fails to initialize with mmap it will try again but without mmap.