Massive Client Plugin Rendering rewrite

Vastly improved structure, security and a more simple and reliable api.