TP: Cleaned up a few function definitions (style only)

Fix for line wrapping on tpCheckEndCondition