change color detection
make infobox centered
some fixes