Defer callback calls
remove error listener when other events occur
Add get keys function
Update the project file