Fixes in memory i/o layer. Standard-compatible i/o layer functions.
Fix processing of empty patterns.
Fixed crashes in X-Tracker (DMF) loader.
Fixes in MMD1 loader (reading outside of module).
Do not calculate md5 for invalid modules.
Use standard debug logging in samples load routine.