Removed debug code.
Reworked padding a bit to account for the difference between mods that do and don't add 256 in their configs. Add a few comments.