Replaced command line with windows form

Also added thread-safe logging.