R. A. Pauli, Playwright