Added IntelliJ stuff and got stop and wait working. Sliding window still does not work.