Call C++ functions from JS side.
Basic functions: close, setWindowFlags, minimize, maximize.
Buttons that test the API functions.