Shorten wait for image to unmount when building mp3.img
Implement generic queue operations
Fix implementation of term_write so that it writes the number of bytes passed
Refactor keyboard driver to use generic queue operations