Added a load of features (more stats, safe percentage...), some bugfix.