Seperate applyTypedefs from include

Convert ' to "
Rename isMemoryValid to isMemoryReadable
Other small things