Added local requires for used global functions
Added truncation to writeBotLeft and writeBotRight
Previously writing too much would cause nothing to be displayed