Event and Error logging
Sleep event added
Test event added
RecalculateCpu now returns error if result is outside 0~100