Fixed an issue with the stim timer, more structification