key powerup fix
code cleanup
fixed stuff