Fix alpha channel decoder for RGBA and refactor optimize a bunch of monoreader stuff