Add the appId and type to the created application window

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>