Clean up debug messages for open / close brace
Use typedef for components instead of "int"
Remember the highest priority.  Fixes #425