various improvements

still todo:
css
gpio save