Const-ification and more appropriate headers
Rename SERIAL so it doesn't conflict with anything, and add a return statement