sets buffer title + handles changes