apply MaskSource and MaskDest properly

Since initially writing the code here, I've since learned how to toggle
masks on and off with F1.  Nothing was ever actually broken about
masking other than my understanding of it.
remove unused code