Fixed 100% CPU core loading issue. Small changes.