Made the screen shaking be a component of the effect supervisor.

This way, shakings are only updated when in the right mode.

I also removed a create temp file useless function.