Better handling of BG plotting