Victrizz:
The problem is I have a deadline and not enough time to fully engage with the topic
Sometimes the best way to go fast is to go slow.
You should regularly use the Arduino IDE's Tools > Auto Format feature on your code. With the screwy indentation you have now your code is very difficult to understand. If you're using the Arduino Web Editor you will not have access to this very useful feature. I recommend you to use the real IDE instead, which you can download for free from here:
http://www.arduino.cc/en/Main/Software