Updated lights sidescrolling + fileIO work

Fixed also a bug with AnimatedGameObject, see explanation TXTs for
changes in level loading!