fix for novnc

and few tiny fixes