implemented a debug mode to hide/show printf, started an implementation of manual update via signals