Removed pattern annotation code
Also removed the accompanying menu bar code. This closes #2.