write() can now be used with other things than the UART
Minor devfs updates
Minor code cleanup