update cmake; move console ptr from terminal to app; scale text with window