Fixed some RTMP input header isssues, removed empty tracks in listing sent from buffer to controller.
Fixed video width/height detection in javascripts.