refactored it a bit. some methods are better distributed now. TODO: print prediction mode on chroma layers
Merge remote-tracking branch 'origin/master'