Implementing Log Routines, and log to TextView