Commetned lots of code in dynamic obstacle and added debugging

- Also added boolean for toggling period spawning on game controller