cache static files, fix navbutton text overflow, fix bugs