major debugging complete; still need to fix scroll and append messages posted to window