Less cout spamming
More template magic was clearly needed.