add minor code cleanup and a core reset for internal sb devices that need it