Fixes bugs introduced to console by recent commits.