pushing some status messages to stderr
minor indentation only
trivial indentation changes only
guarding against null meta nodes