[ticket/13263] Make sure default style exists and clean up code

PHPBB3-13263