Adding marker annotations programmatically

See Controlling the GUI programmatically -- can/cannot - #6 by mliberty