Tidied up code
Made displayer code py3k compatible

Tidied up code in batch processor