cleanup and improvements
cleaned up dtxt syntax