Further revised bmpBotton

Added comments, cleaned code, etc.