This character's name is said only once on screen, that in a 1977 film where Major Anya Amasova greets him as "Major Boothroyd". This character is believed to be based on a Scottish firearms expert who wrote to the character's creator with a critique. The last lines delivered by the longest running actor to play this character was the advice Always have an escape plan. Identify this long running character who is currently played on film by Ben Whishaw, a character so named because of the division of MI-6 that he is in charge of.
Q (Quartermaster in the "James Bond" universe)