1. When an object can be initialized multiple time, it is safer to first call Dim. Otherwise, the same object instance will be reinitialized and this can cause problems in some cases.
2. This is indeed not needed. It is an old cross platform code, based on B4A activities.