Fixed Extern Declarations , minor typos