Working v4 version now

v4 version is working now. Added various things such as visual support,
merging debugging information with scene display, as well as key input
etc.