Dont flash screen on missing argument

The screen flashes if someone runs the executable without any arguments. Check the arguments first to avoid initializing curses (which causes a flash).