More logging and less CPU usage

I'd like to actually be able to use my system during build tasks.
Also, I noticed some problems in the stderr and stdout redirections for
my logging.