Fixed memory leak, possibility to run in fullscreen and project arbitrary textures (to simulate underwater projector).

See subject and commits.