Remove STAThread from main function