Fix indentation
Remove all unnecessary calls to get_scrline
Rename scrcode_tmp to scrcode
Use clear_eos to perform full screen clear