[perspectiveTaking] minor improvements
Allow perspective transformation (still to improve)
Provide template xml file
Fix in killing threads -> now in the right order