trim dead code from ctwm