initial signals handlers added
-Wextra -pedantic for gcc added