Tidy up templates guide
Clean up debugging documentation