Fixed bone attach and detach functions.
Removed commented code from EC_PlaceableView.