No more assert() errors, but still not working

Fixed assert errors and modified timers (maybe they are with problems)