Code cleanup + missing ReleaseComObject() calls