Replaced int log mode system with enum system, closing #114.