compile time fixes and code for sidechain
took Eugene's changes
Merge branch 'master' of github.com:ekwan/mandor
Merge branch 'master' of github.com:ekwan/mandor
added proline to proline method