Add bool return to functions in main loop
wip