Windows RT sample improved.

Corrent histogram output on YUV image implemented;
Some code refactoring done.