specifying the OS and the package source may help others to diagnose your issues
what i can say is that, while Publii is ‘buglii’ at this time, i’m not having the more serious problems you’re describing
i’m running an Arch derivative and using the ‘publii-bin’ package rather than the ‘publii’ package, (currently 0.44.1) with the external electron dep, ‘electron26-bin’ (currently 26.6.3)