Some code cleanups. Created StackUtils class for getting NBT tags of ItemStacks without having to worry about NPEs