Few variables, not in use, removed from the code. Also empty lines and some comments removed.