Fixed major nullpoint error: use mCount instead of hat.length when trying to display members in the hat