fixed minor warnings in BaseText class
fixed texture border calculation
enabled more aggresive warnings (-Wextra)