fix major bug with blank txtbox
Reduce logging for staging and production