Filling in functions

WinMain, Qcommon_Init and Qcommon_Frame are filled out.