always flush command-t when called
general cleanup