Fixed: bugs with FlushViewOfFile.