refactored icon functions into icon.h
added implementation of kill() for linux