MInor fixes to scheduler
Initial work on fast digital and analog IO