PARALLACTION: Cleanup
WINTERMUTE: Fix side effect of assert
WINTERMUTE: Fix warnings and improve const-correctness