Hands detection no longer works in the past (...)

- Variables are now set BEFORE checking them.
- Added skeleton count and reference to skeleton array.