I don't think the comma usage was wrong. The commas around "and in some cases" serve as both serializing the list and inserting the extra information that otherwise could've been removed from the sentence. However, it might have been better to use parenthesis to avoid the ambiguity.
The use of parallel verbs "disables", "prevents", and "hides" was a strong indicator to me that it was a list. I interpreted the "and also" at the end as a stylistic choice since the first two items follows the form "[verb] [ing-verb]" whereas the last item doesn't.