Fix warnings and a bug in key_released callback
Delete outdated projects