Added signal and timer functions and more stuff. I won't touch this thing for the next day or two.