Cleaned code.

The graphic interface of the system was established, the system displays
properly, some problems to fully view.

The graphic interface of the system is updated every 500 milliseconds by
a thread.