clean up, rotation debug, cubestacking fix, rotation fix
debug manager, cleaning