Console + macviews

Stuart, I put the console and macviews PR together, plus there is an additional change that fixes AutoLayout for Mac.