Fix most errors, without editting too much

Signed-off-by: ShadowChild <shadychild12@gmail.com>