improve html formatting, add loading message