Added error handlers.
Added more background modes to plist.