Remove apply shortcut from external api
Update and fix external history plugin
Add comment about weird $apply behavior
DRY up external history