Basic DMA, MFC, channel changes

Added new consts, thread-safe locks for critical resources, removed some
warnings. Modified git-version.h