pretty-elements.pl tidied up warnings and debugging. tabs converted to 3 spaces in warnings and debug output