Fixed major bugs, cleaned logging system, version bump