track keyboard state in input manager
fix rOstringStream class
application handles viewport render
better module hooks