remove copy & paste in creating camera matrices
fix connect/disconnect hang