Added TTarget.getHandle(), also exported to Lape

Fixed TShiftState as well.