Fixed uart_wait to actually wait for the right flag.
(Also updated .gitignore to skip all binary artifacts)