Small type change and correct type coercion for debug print of barrier.level
Shuffled and renamed some functions.

Moved the `setup` and `loop` functions down in the sketch; function declarations at the top of the sketch are no longer necessary.
Fixed teleportation location in RedRunner demo.

Turned on additional warnings and checks for command line compilation.