fixed crash when setParameters in middle of processFrame
added external input module