Adding better dispose/reset behavior, updates in console logging for example page.