Added correct light behaviour for Objects. Added Debuglines.

Signed-off-by: CoffeeParser <denis.dik@hs-furtwangen.de>