Remove unecessary call to activateOptions
Flush error stream in ErrorHandler