fixed raising events for multithreading
removed fcmd.userprefs