Fixed Gecko performance issue with source dialog.
Fixed bug where paste keyup handler would sometimes fire before the pastebin got filled.