Fix plugin chunks randomly not saving; Misc changes