Capacitor has gui now, working on batteries