Basic serial handling (I'll fix tabs later)