beta 1.1, add main module protect, add watch dog, add logging