emercoin GUI + percentage patch 1. This is WIP and may not compile.