add regenerate life
edit clean code, add gui panels