Fix #1779, #1778

Fix #1779: Revert JEventDispatcher to JDispatcher (J2.5)
Fix #1778: Log only errors and delete log file on installation