Throw the worthless simulator away and use a real chip, get real compiler errors, flash real LEDs and see what works. IMHO