html cleanup and implementation of status through config