global: global improvement

* Adds categories in menu.

* Adds the automatic shrinking of old data points.

* Removes useless print statements.

* Removes useless console.log statements.

Signed-off-by: Guillaume Lastecoures <guillaume.lastecoueres@techie.com>