Fleshed out generatesPower trait and added updatesEachFrame trait, fixed bugs