Cleanup: int => boolean
Fix #552 (most likely) by properly resetting self.sdprinting