Infobox styling added. Code optimization.