many bugfixes, shadows working.