Removed commented code. Minor fixes made. Added a check before running 'make clean images'.