move close() method from ErlElement to Openable, where it belongs
debug printouts for scanners