Fixed large bugs with corners, ADDED ALL NEW BUGS!