machine: removed unused kout stmts
machine: cleanup IOAPIC
machine: added ticketlock