Fixed miscellaneous bugs in untwisted and minecraft.