Added cleanup on framework exit and startup info