Added debug mechanisms to components. Implemented picking