added funtions for display control and busy flag, but busy flag does not work :-(
merged head