fixed layout a bit; only display note results table if notes.size > 0