Added code documentation with screenshots.
Added fix.