Fixed issue where textures got offset by pow2. Also added menu code.