Integrated Martin's code with GUI and background subtraction.
Fixed userPosition sending.
Code clean-up.