Refactored wait for lcd into separate function
Removed unncessary wait states from the memory bus