Performance improvement & Downside-lit-bug fix & Cleanups
Do not calc AO with calclight -1
Move Code to a more fitting position