Multi-inputs support for Viewers + general fixes in the engine. Still some bugs