Compile with Debug

Some errors fixed, so that sketch can compile when debug is defined