Merge pull request #74 from tribal-tec/master

Fix OSX build
Fix compiler warnings (unused, shadow)

Change-Id: Icc98a3772f09da08d87bc4f51f7c8a873613754c
Merge pull request #75 from rdumusc/fix_cppcheck_warnings

Fix compiler warnings (unused, shadow)
Decouple window creation from streamers, introduce window ID

Change-Id: Ide36663f620344acb573a7dd9a68476d3cb55095