Changed remaining sprintfs to formats, removed unneeded ternary .py stripper, cut trailing whitespace, added trailing newline