better error handling, necessary changes for Android, removed String
case statements, removed char interface to Serial, Python now broadcasts
stack trace in error