Minor changes and timer bug detected
timer bugs silly work around and crash fix of firefox