improve load-bargraph
key 'q' or 'Q' to exit cleanly