my console app closes right after the thing is displayed! how do i fix this?