nodeState inversion

1 is now timed out, 0 is not timed out.
Fixed queue size bug in remove(), still more bugs to find.
Formatting

Arduino autoformat