Updated extensions system, added event system, fixed bugs.. etc