Added the stub classes for a LEAP input device; fixed a bug on exit from the example input services where a channel was referred to by the supporting thread that had already been released.