restructured some things a little
made the error bars more robust
improved error bar
added mysql config, made uploads work, fixed resizing issues