console.cpp and q_shwin.cpp

These two are done.