Big commit, fixed queue timer and added more interrupt handlers