added php docblocks to most of the code
added internal API docs
increase the menu bar slightly to make it easier to use on a touchscreeen device