Debug input and sun spawner