fixing bugs due to the timezone, added a simple web UI