Preparing dual screens

Today I”ve been trying to set up the aplication in order to work with 2 screens using fullscreen.

In my final installation I will need two screens, one for dealing with the setings and the configuration (input data), and the other one for dealing with the projection (output data).
For that reason I”ve created a small aplication with a basic set up that I can aply to my final code.

The resources that I looked are the ones that follow:
Fullscreen dual screen at Openframeworks forum
Fullscreen on a second screen (on windows)? at Openframeworks forum
LasertTag Code by Theo Watson

Here is a video that runs the code:

Here is the code: