Add require 'thread' to try to fix Mutex class on ubuntu.
Change layout by typing .layout <id>