Made player capped and freed events. +more

Automatically reset playerscapped to 0 if it goes below 0 somehow.
+cleaned up a bunch of stuff