switched css to stylus; UI improvements; state loading and saving