NOT WORKING; babysteps towards multiple window support

Signed-off-by: ferenstone <ferenstone@mailnesia.com>