Add WIP for pattern matching
Fix printf format bug
Embedded targets don't need this include
Some debug output never hurt anyone