AtlasMain needs to implement Runnable. Anonymous inner classes aren't loaded yet... Argh.