Added a console library for Windows GUI applications.