Rewrote interrupt mechanism, fixed renderer bug