Allow runtime configuration and output of percentage instead of hearts

This adds the possibility to configure certain parts at runtime and to optionally output the a percentage instead of hearts. There should be no changes in behaviour when called without arguments.