on Windows if using Visual Studio; if using MinGW, try to stick to the original main() entry point.
do not open a console at startup.