Text this: On Separation by Locally Testable and Locally Threshold Testable Languages