Fix some code conventions errors, comment errors.
Remove duplicate code by refactoring the constructor of VideoGreyFadingMediaDevice.