Windows RT related code cleanup.

Windows RT sample cleanup.
Video I/O code cleanup.