Fixed some slight errors

Hey, the plugin is still really broken and everything, but I thought I would give you some quick, simple fixes.