some fixes for dynamic edges, should work now
fixed everything
now lights are dynamic, too
this should be the first completely running version