Adjusted position of infoText and small code fixes