TESTED AND WORKING ON BF DISPLAY
Fixed minor bug which did not record stim dur.